﻿using PAP.Application.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace PAP.Application.Dtos.UserAccount.Commands
{
    [DataContract]
    public class RegisterUserCommand : ICommand
    {
        [DataMember(IsRequired = true)]
        public string Login { get; set; }

        [DataMember(IsRequired=true)]
        public string Firstname { get; set; }

        [DataMember(IsRequired = true)]
        public string Lastname { get; set; }

        [DataMember(IsRequired = true)]
        public string Password { get; set; }

        [DataMember(IsRequired = true)]
        public string Email { get; set; }
    }
}
